/**
 * 
 */
package cn.agiledata.bank.account.service;

/**
 * @author 马贤波
 *
 * Mar 31, 2006
 */
public interface IReturnCodeHolder {
	
	//==========总体服务===================================
	//此处属于系统级别的异常，是否需要在此体现，有待讨论
	/** 服务请求失败 */
	public static final String SERVICE_FAILURE = "serviceFailure" ;
	/** 服务请求成功 */
	public static final String SERVICE_SUCCESS = "serviceSuccess" ;
	/** 尚未登录 */
	public static final String HASNOT_LOGON = "hasnotLogon" ;
	/** 需要校验码的地方，校验码不正确 */
	public static final String INVALID_VERIFYCODE = "invalidVerifyCode" ;
	
	//==========登录===================================
	/** 登录：提交表单不正确（详细的错误信息由前端检验） */
	public static final String LOGON_FORM_INFORMAL = "logonFormInformal" ;
	/** 登录：账户被冻结 */
	public static final String LOGON_ACCOUNT_LOCK = "logonAccountLock" ;
	/** 登录：账户名不存在 */
	public static final String LOGON_ACCOUNT_NOT_EXIST = "logonAccountNotExist" ;
	/** 登录：不是个人用户 */
	public static final String LOGON_NOT_PERSONAL = "logonNotPersonal" ;
	/** 登录：不是企业用户 */
	public static final String LOGON_NOT_ENTERPRISE = "logonNotEnterprise" ;
	/** 登录：口令错误 */
	public static final String LOGON_PASSWORD_ERROR = "logonPasswordError" ;
	/** 登录：企业操作员用户不存在 */
	public static final String LOGON_OPERATOR_NOT_EXIST = "logonOperatorNotExist" ;
	/** 登录：操作员口令错误 */
	public static final String LOGON_OPERATOR_PASSWORD_ERROR = "logonOperatorPasswordError" ;
	
	//==========注册===================================
	/** 注册：该账户名已经被使用 */
	public static final String REGISTER_ACCOUNT_DUPLICATED = "registerAccountDuplicated" ;
	/** 注册：提交表单不正确（详细的错误信息由前端检验） */
	public static final String REGISTER_FORM_INFORMAL = "registerFormInformal" ;
	
	//=========账户操作====================================
	/** 子账户：子账户ID已经被使用 */
	public static final String ACCOUNT_SUBID_DUPLICATED = "account_subid_duplicated" ;
	/** 操作员：操作员ID已经被使用 */
	public static final String ACCOUNT_OPRID_DUPLICATED = "account_oprid_duplicated" ;
	/** 添加银行卡：银行卡号码已经被添加过 */
	public static final String ACCOUNT_BANK_DUPLICATED = "accountBankIDDuplicated" ;
	
	//==============我的账户===============================
	/**/
	public static final String OLD_PASSWORD_ERROR = "OldPasswordError" ;
	public static final String PAY_LOGIN_ERROR = "payLoginError";
	public static final String NO_PAY_PASSWORD= "NoPayPassword" ;
	public static final String NO_RIGHT_RESET_PASSWORD= "NoRightResetPassword" ;
	public static final String GET_OPERATOR_ERROR = "GetOperatorError" ;
	
	public static final String PHOTO_OVERFLOW = "photoOverflow";
	public static final String PHOTO_FORMAT_ERROR = "photoFormatError";
	public static final String CARDPHOTO_OVERFLOW = "cardPhotoOverflow";
	public static final String CARDPHOTO_FORMAT_ERROR = "cardPhotoFormatError";

}
